package com.etl.dataflow.scheduler;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dx
 * @since 2022/4/20
 */
@SpringBootApplication(scanBasePackages = "com.etl.dataflow.scheduler")
@MapperScan("com.etl.dataflow.scheduler.admin.mapper")
@RestController
public class SchedulerApplication {
    public static void main(String[] args) {
        SpringApplication.run(SchedulerApplication.class, args);
    }

    @GetMapping("/")
    public String home() {
        return "Scheduler is running.";
    }
}
